package com.kilomob.grady.exception;

public class GradyException extends RuntimeException {
    
    private static final long serialVersionUID = -4721447594864849522L;
    
    public GradyException(final String errorMessage, final Object... args) {
        super(String.format(errorMessage, args));
    }
    
    public GradyException(final String errorMessage, final Exception cause, final Object... args) {
        super(String.format(errorMessage, args), cause);
    }
    
    public GradyException(final Exception cause) {
        super(cause.getMessage(), cause);
    }
}
